<%@ page language="java" pageEncoding="utf-8"
	contentType="text/html; charset=UTF-8"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://" + request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
%>
<html>
<head>
<title>Home</title>
<meta http-equiv="Content-Type" context="text/html" charset=utf-8">
<style type="text/css">
.logoimg{     display: block;
    margin: -102px auto;
    width: 297px;
    position: absolute;
    }
</style>
</head>
<link rel="stylesheet" type="text/css"
	href="<%=path%>/js/themes/bootstrap/easyui.css">
<link rel="stylesheet" type="text/css" href="<%=path%>/js/themes/icon.css">
<script type="text/javascript" src="<%=path%>/js/jquery.min.js" charset="utf-8"></script>
<script type="text/javascript" src="<%=path%>/js/jquery.easyui.min.js"
	charset="utf-8"></script>
<script type="text/javascript" src="<%=path%>/js/locale/easyui-lang-zh_CN.js"
	charset="utf-8"></script>

<script type="text/javascript">
		var login=$('#login')
		$(function(){
			login = $("#login").dialog({
				closable:false,
				draggable:false
				});
			});
        
	    $(function(){ 
	        $('#cccorp').combogrid({
	    	url:'<%=path%>/login/get/corp',
	    	checkOnSelect:true,
			panelWidth :300,
			panelHeight : 200,
			idField :   'cAccId',
			textField : 'cAccName',
			pagination : true, 
			fitColumns : true,
			required : true,
			loadMsg: '数据加载中...',
			mode : 'remote',
			delay : 500,
			rownumbers:true,
	    	checkbox:true,
		    pageSize : 10,
			pageNumber:1,
			pageList : [ 10,20 ], 
			columns : [ [ {
				field : 'cAccId',
				title : '编码',
				width : 150
			}, {
				field : 'cAccName',
				title : '名称',
				width : 150
			}  ] ]
	    	});
	    });   
  
</script>
<script>
window.onload=function(){
	var wtop=$(".window").css("top");
	var oweight=parseInt($(".window").css("left"));
	var ow=parseInt(wtop)-150;
	$(".logoimg").css({"top":ow,"left":oweight});
}
</script>
<style>
	body {background:url("<%=path%>/images/021.jpg");}

</style>
<body>

	 <img id="im" class="logoimg" src="<%=path%>/images/067.png"/> 

		<div id="login" class="easyui-dialog" title="系统登录"
			style="width: 300px; height: 250px; padding: 10px">
          <form id="userlogin" action="<%=path%>/login/get/user" method="post">
			<table>
				<tr>
					<td><input id="cccorp" name="cccorp" type="text" placeholder="公司名称" value=""
						class="easyui-validatebox" data-options="required:true" style="width: 160px"/></td>
				</tr>

				<tr>
					<td><input id="ccusername" name="ccusername" type="text" placeholder="用户名称"
						value="" class="easyui-validatebox" data-options="required:true" style="width: 160px" /></td>
				</tr>
				<tr>
					<td><input id="ccuserpwd" name="ccuserpwd" type="password" placeholder="用户密码"
						value="" class="easyui-validatebox" data-options="required:true"  style="width: 160px"/></td>
				</tr>
				<tr>
					<td><input id="logindate" name="logindate" type="text" class="easyui-datebox"
						value="" class="easyui-validatebox" data-options="required:true" style="width: 160px"></td>
				</tr>

				<tr>
					<td><input type="submit" value="提交"/> <input id="close"
						type="reset" value="重置"/></td>
			</table>
	</form>
</div>

</body>
</html>
